package MT::Plugin::Test;

use strict;
use warnings;

use vars qw( $VERSION );
$VERSION = 0.2;

use base 'MT::Plugin';

# MT4 only loads this if a config.yaml file is not present.
# Since we are including one this only gets used by MT3
# environments. We're paranoid though.

if (MT->version_number < 4) {
    require MT::Test::Tags;
}

sub id          { 'Test' }
sub key         { __PACKAGE__ }
sub name        { 'MT Test' }
sub description { 'A framework for testing Movable Type plugins.' }
sub doc_link    { 'http://appnel.com/docs/devtools' }
sub author_name { 'Appnel Solutions' }
sub author_link { 'http://appnel.com/' }
sub plugin_link { 'http://code.google.com/p/mt-test/' }
sub version     { $VERSION }

my $plugin = MT::Plugin::Test->new;
MT->add_plugin($plugin);

sub instance { $plugin }

1;
